//
//  HintViewController.h
//  LCOpenSDKDemo
//
//  Created by chenjian on 16/7/11.
//  Copyright (c) 2016年 lechange. All rights reserved.
//
#import "MyViewController.h"
#import <UIKit/UIKit.h>

#ifndef LCOpenSDKDemo_AdminModeViewController_h
#define LCOpenSDKDemo_AdminModeViewController_h
@interface AdminModeViewController : MyViewController <UITextFieldDelegate> {
    NSString* m_strAppId;
    NSString* m_strAppSecret;
    NSString* m_strSrv;
    NSInteger m_iPort;
    NSString* m_strAccessTok;

    UIActivityIndicatorView* m_progressInd;
}
@property IBOutlet UITextField* m_textPhone;
@property IBOutlet UILabel* m_lblHint;
@property IBOutlet UIButton* m_btnDeviceObt;
@property IBOutlet UIImageView* m_imgRemind;

- (void)setAppIdAndSecret:(NSString*)appId appSecret:(NSString*)appSecret svr:(NSString*)svr port:(NSInteger)port;
- (void)onBack:(id)sender;
- (IBAction)onEnterDevice:(id)sender;
- (BOOL)textFieldShouldBeginEditing:(UITextField*)textField;
- (BOOL)textFieldShouldEndEditing:(UITextField*)textField;
- (BOOL)textFieldShouldReturn:(UITextField*)textField;
@end
#endif
